#!/bin/bash
urls=( "http://127.0.0.1/crossdomain.xml"  "http://127.0.0.1/index.xml" "http://127.0.0.1/Company/ContactUs.html" "http://127.0.0.1/Company/symbiosis.html" )
size=${#urls[@]}
for ((i=0;i<$1;i++ )) do
  echo "${urls[$i%$size]}"
  curl "${urls[$i%$size]}"  -o ./html/idx_$i.html
done
